package com.mxpio.erp.workshop.service.impl;

import com.mxpioframework.jpa.JpaUtil;
import org.springframework.stereotype.Service;

import com.mxpio.erp.common.workshop.entity.ManufactureOrderItem;
import com.mxpio.erp.common.workshop.service.ManufactureOrderItemService;
import com.mxpioframework.system.service.impl.BaseServiceImpl;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class ManufactureOrderItemServiceImpl extends BaseServiceImpl<ManufactureOrderItem> implements ManufactureOrderItemService {
    @Override
    @Transactional
    public List<ManufactureOrderItem> listByBizNo(String bizNo) {
        return JpaUtil.linq(ManufactureOrderItem.class).equal("bizNo",bizNo).list();
    }
}
